var Action = require("../apiaction");
var Utility = require("../Utility/utility.js");
exports.smsAPI = function(router){

    //获取短信验证码列表
    router.all('/sms/getsmslist',function(req,res){

        var params ={mobile: req.param("mobile"),type: req.param("type")};
        params = Utility.get_list_page_size_param(req,params);




        Action.send(req, res,"/sms/getsmslist",params,function(res,data) {
            res.status(200).json(JSON.parse(data));
        });
    });


}
